{%extends "index.html"%}
{% load i18n %}  
{% block content %}
    <div class="container-flexible login">
		<!--888-->
        <div class="column span-10 centered">
			{% if form.errors%}
		<p class="errornote login-errors" style='margin-top: 0px !important;'>Please enter a correct username and password. Note that both fields are case-sensitive.</p>	
			{% endif %}
            <form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}
                <fieldset class="module">
                    <div class="row">
                        <div class="column span-4"><label for="id_username" class="required">{% trans 'Username:' %}</label></div>
                        <div class="column span-6 last"><input type="text" name="username" id="id_username" /></div>
                    </div>
                    <div class="row">
                        <div class="column span-4"><label for="id_password" class="required">{% trans 'Password:' %}</label></div>
                        <div class="column span-6 last"><input type="password" name="password" id="id_password" /><input type="hidden" name="this_is_the_login_form" value="1" /></div>
                    </div>
                </fieldset>
                <div class="module submit-row">
                    <ul class="submit-row">
                        <li class="submit-button-container"><input type="submit" class="default" value="{% trans 'Log in' %}" /></li>
                    </ul>
                </div>
            </form>
        </div>
    </div>

            <br class="clear" /> 
			{%include "login_text.html"%}
        <!--</div> -->
{% endblock %}
